# coding:utf-8
# @Time    : 2021/12/10 8:54
# @Author  : Martin

"""
/nspas-web-in/activityCreateFilter.do?activityType=ORDERACTIVITY&promotionActType=ORDERTRADE&activityChannel=2&comType=1
线下订单免邮
"""
from page_object.base.page_items_carrefour import PageItemsCarrefour
from util.read_file import get_approve_data


class OrderFreePostPage(PageItemsCarrefour):
    _base_url = "/nspas-web-in/processRoleFilter.do?businessTemplateId=NSOA28270&comType=12"

    @staticmethod
    def get_approve_head_create():
        """
        获取总部新建审批流账号数据
        :return:
        """
        return get_approve_data('offline_order_free_post', 'head', 'create')
